/* 顶部搜索 */
body {
    /* height: 2000px; */
    max-width: 540px;
    min-width: 320px;
    margin: 0 auto;
    font: normal 14px/1.5 Tahoma, "Lucida Grande", Verdana, "Microsoft Yahei", STXihei, hei;
    color: #000;
    background: #f2f2f2;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: #222;
}

div {
    box-sizing: border-box;
}

.search-index {
    display: flex;
    position: fixed;
    top: 0;
    /* left: 50%; */
    min-width: 320px;
    max-width: 540px;
    width: 100%;
    height: 44px;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    background-color: #f6f6f6;
    z-index: 1;
}
.search {
    position: relative;
    flex: 1;
    height: 26px;
    line-height: 24px;
    border: 1px solid #ccc;
    margin: 8px 10px;
    border-radius: 5px;
    color: #666;
    font-size: 12px;
    padding-left: 25px;
    box-shadow: 0 2px 4px rgb(0, 0, 0 , .3);
    
}
.search::before {
    content: "";
    display: block;
    position: absolute;
    top: 5px;
    left: 5px;
    width: 15px;
    height: 15px;
    background: url(../images/sprite.png) no-repeat -59px -279px;
    background-size: 104px auto;
}
.user {
    width: 44px;
    height: 44px;
    text-align: center;
    font-size: 12px;
    color: #2eaae0;
}
.user::before {
    content: "";
    display: block;
    width: 23px;
    height: 23px;
    margin: 4px auto -2px;
    background: url(../images/sprite.png) no-repeat -59px -194px;
    background-size: 104px auto;
}
.focus {
    padding-top: 44px;
}
.focus img {
    width: 100%;
}
.local-nav {
    width: 100%;
    height: 64px;
    display: flex;
    border-radius: 10px;
    background-color: #fff;
}
.local-nav li {
    flex: 1;
}
.local-nav li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
}
.local-nav li [class^="local-nav-icon"]  {
    display: block;
    width: 32px;
    height: 32px;
    margin-top: 8px;
    background: url(../images/localnav_bg.png) no-repeat 0 0;
    background-size: 32px auto;
}
.local-nav  li .local-nav-icon-icon2 {
    background-position: 0 -32px;
}
.local-nav  li .local-nav-icon-icon3 {
    background-position: 0 -64px;
}
.local-nav  li .local-nav-icon-icon4 {
    background-position: 0 -96px;
}
.local-nav  li .local-nav-icon-icon5 {
    background-position: 0 -128px;
}
/* 主导航栏部分 */
nav {
    width: 100%;
    border-radius: 8px;
    border: 0 4px 3px;
    /* background-color: pink; */
    overflow: hidden;
}
.nav-main {
    height: 88px;
    background-color: pink;
    display: flex;
}
.nav-main:nth-child(2) {
    margin: 5px 0;
}
.items {
    flex: 1;
    display: flex;
    flex-direction: column;
    /* margin-top: 5px; */
}
.items:nth-child(1) {
    background: url(../images/hotel.png) no-repeat bottom center;
    background-size: 121px auto;
}
.items:nth-child(2) {
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
}
.items a {
    flex: 1;
    color: #fff;
    font-size: 14px;
    text-align: center;
    line-height: 44px;
}
.items a:nth-child(1) {
    border-bottom: 1px solid #fff;
}
.nav-main:nth-child(1) {
    background: -webkit-linear-gradient(left, #FA5A55, #FA994D);
}
.nav-main:nth-child(2) {
    background: -webkit-linear-gradient(left, #4B90ED, #53BCED);
}
.nav-main:nth-child(3) {
    background: -webkit-linear-gradient(left, #34C2A9, #6CD559);
}
.subnav {
    width: 100%;
    border-radius: 8px;
    border: 0 4px 3px;
    display: flex;
    flex-wrap: wrap;
    background-color: #fff;
    margin-top: 3px;
}
.subnav li {
    flex: 20%;
    /* background-color: pink; */
}
.subnav li a {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.subnav-icon {
    width: 28px;
    height: 28px;
    background: url(../images/subnav-bg.png) no-repeat;
    background-size: 28px auto;
    margin-top: 5px;
}
/* 销售模块 */
.sales-box {
    margin: 4px;
    /* border-bottom: 1px solid #ccc; */
    position: relative;
    background-color: #fff;
    
} 
.sales-hd {
    position: relative;
    height: 44px;
    /* background-color: pink; */
    border-top: 1px solid #ccc;
    /* border-bottom: 1px solid #ccc; */
    /* padding-top: 10px; */
}
.sales-hd h2 {
    position: relative;
    overflow: hidden;
    text-indent: -999px;
}
.sales-hd h2::after {
    position: absolute;
    content: "";
    top: 5px;
    left: 8px;
    width: 79px;
    height: 15px;
    background: url(../images/hot.png) no-repeat 0 -20px;
    background-size: 79px auto;
}
.more {
    position: absolute;
    right: 5px;
    top: 16px;
    display: block;
    background: -webkit-linear-gradient(left, #FF506C, #FF6BC6);
    color: #fff;
    border-radius: 15px;
    padding: 3px 20px 3px 10px;
}
.more::after {
    content: "";
    position: absolute;
    top: 9px;
    right: 9px;
    width: 7px;
    height: 7px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
}
/* body模块 */
.body {
    margin-top: 20px;
    border-top: 1px solid #ccc;
}
.row {
    display: flex;
    /* width: 100%; */
}
.row a{
    flex: 1;
    border-bottom: 1px solid #eee;
}
.row a:nth-child(1) {
    border-right: 1px solid #eee;
}
.row a img {
    width: 100%;
}